import request from '@/utils/request'

//获取轮播数据
export function getBannerList(params={}){
    const {distributionSite='1'}=params
    return request({
        url:'/home/banner',
        params:{
            distributionSite
        }
    })
}

//获取新鲜好物
export function getNewList(){
    return request({
        url:'/home/new'
    })
}

//获取人气推荐
export function getHotList(){
    return request({
        url:'/home/hot'
    })
}
//获取商品列表
export function getGoodsList(){
    return request({
        url:'/home/goods'
    })
}